﻿@model Zatify.WebUI.Models.Account.LoginViewModel
@{
    ViewBag.Title = "Login";
    ViewBag.ContentTitle = "Login";
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}
@section Scripts
{
    <script type="text/javascript">

        $(document).ready(function () {

            $('#UserID').focus();
            $('#TimeZoneOffset').val(new Date().getTimezoneOffset());
        });

    </script>
}
@using (Html.BeginForm())
{
    <div class="user_registration_area">
        <div class="login_fillbox">
            @Html.HiddenFor(m => m.TimeZoneOffset)
            <div class="user_reg_line">
                <label for="username" class="label_text">
                    User ID:</label>
                @Html.TextBoxFor(m => m.UserID, new { @class = "inputbox_text inputbox_bg_img40", title = "Enter Your User ID" })
            </div>
            <div class="user_reg_line">
                <label for="password" class="label_text">
                    Password<span>:</span></label>
                @Html.PasswordFor(m => m.Password, new { @class = "inputbox_text inputbox_bg_img40", title = "Password" })
            </div>
            <div class="user_reg_line">
                <label class="lable_type">
                    @Html.CheckBoxFor(m => m.RememberMe, new { @class = "checkbox_btn" })Remember me</label>
            </div>
            <input type="submit" value="Login" class="blue_btn" style="margin-left: 150px;" />
            <div class="user_reg_line">
                <label class="lable_type forgot_password">
                    <a href="@Url.Action("PasswordRecovery")">Forgot your Username &amp; Password?</a></label>
            </div>
        </div>
        <div class="clearfix">
        </div>
        @Html.ValidationSummary()
    </div>
}